package wzvtc.dbad.attend.entity;

import org.springframework.data.annotation.AccessType;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

/**
 * 考勤员
 */
@AccessType(AccessType.Type.FIELD)
@Table("T_ATTENDANT")
public class Attendant {

    private @Id long id;
    private String name;
    /**
     * 外键，所负责的班级
     */
    private long clazzId;

    public Attendant(String name, long clazzId) {
        this.name = name;
        this.clazzId = clazzId;
    }

    public long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public long getClazzId() {
        return clazzId;
    }



}
